
package com.fx.apartment.modules.activity.service;

import com.fx.apartment.common.base.BaseService;
import com.fx.apartment.modules.activity.entity.ActivityParticipation;
import com.fx.apartment.modules.activity.vo.ActivityParticipationVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * 参与活动 服务类
 *
 * @author QinXueFeng
 * @since 2021-04-19
 */
public interface IActivityParticipationService extends BaseService<ActivityParticipation> {

	/**
	 * 自定义分页
	 *
	 * @param page
	 * @param activityParticipation
	 * @return
	 */
	IPage<ActivityParticipationVO> selectActivityParticipationPage(IPage<ActivityParticipationVO> page, ActivityParticipationVO activityParticipation);

	/**
	 * 增加投票数
	 * @param participationId
	 * @return
	 */
    boolean addVotesNum(Long participationId);
}
